package collage.aminpage;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import javax.swing.JLabel;
import java.awt.GridLayout;
import java.awt.FlowLayout;

public class calendarFinal extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					calendarFinal frame = new calendarFinal();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public calendarFinal() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 550, 400);
		contentPane = new Calendar_body();
		//contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		//contentPane.setLayout(new BorderLayout(0, 0));
		//getContentPane().add( new Calendar_body() );
		setContentPane( contentPane );

	/*	JPanel panel = new JPanel();
		contentPane.add(panel, BorderLayout.NORTH);
		
		JButton btnNewButton = new JButton("-month");
		panel.add(btnNewButton);
		
		JLabel lblNewLabel = new JLabel("This year");
		panel.add(lblNewLabel);
		
		JLabel lblThisMonth = new JLabel("This month");
		panel.add(lblThisMonth);
		
		JButton btnNewButton_1 = new JButton("+month");
		panel.add(btnNewButton_1);*/
/*		
		JPanel body = new JPanel();
		contentPane.add(body, BorderLayout.CENTER);
		body.setLayout(new GridLayout(5, 7, 0, 0));
	
		JPanel point1 = new JPanel();
		FlowLayout fl_point1 = (FlowLayout) point1.getLayout();
		body.add(point1);
		
		JPanel point2 = new JPanel();
		FlowLayout fl_point2 = (FlowLayout) point2.getLayout();
		body.add(point2);
		
		JPanel point3 = new JPanel();
		body.add(point3);
		
		JPanel point4 = new JPanel();
		body.add(point4);
		
		JPanel point5 = new JPanel();
		body.add(point5);
		
		JPanel point6 = new JPanel();
		body.add(point6);
		
		JPanel point7 = new JPanel();
		body.add(point7);
		
		JPanel point8 = new JPanel();
		body.add(point8);
		
		JPanel point9 = new JPanel();
		body.add(point9);
		
		JPanel point10 = new JPanel();
		body.add(point10);
		
		JPanel point11 = new JPanel();
		body.add(point11);
		
		JPanel point12 = new JPanel();
		body.add(point12);
		
		JPanel point13 = new JPanel();
		body.add(point13);
		
		JPanel point14 = new JPanel();
		body.add(point14);
		
		JPanel point15 = new JPanel();
		body.add(point15);
		
		JPanel point16 = new JPanel();
		body.add(point16);
		
		JPanel point17 = new JPanel();
		body.add(point17);
		
		JPanel point18 = new JPanel();
		body.add(point18);
		
		JPanel point19 = new JPanel();
		body.add(point19);
		
		JPanel point20 = new JPanel();
		body.add(point20);
		
		JPanel point21 = new JPanel();
		body.add(point21);
		
		JPanel point22 = new JPanel();
		body.add(point22);
		
		JPanel point23 = new JPanel();
		body.add(point23);
		
		JPanel point24 = new JPanel();
		body.add(point24);
		
		JPanel point25 = new JPanel();
		body.add(point25);
		
		JPanel point26 = new JPanel();
		body.add(point26);
		
		JPanel point27 = new JPanel();
		body.add(point27);
		
		JPanel point28 = new JPanel();
		body.add(point28);
		
		JPanel point29 = new JPanel();
		body.add(point29);
		
		JPanel point30 = new JPanel();
		body.add(point30);
		
		JPanel point31 = new JPanel();
		body.add(point31);
		
		JPanel point32 = new JPanel();
		body.add(point32);
		
		JPanel point33 = new JPanel();
		body.add(point33);
		
		JPanel point34 = new JPanel();
		body.add(point34);
		
		JPanel point35 = new JPanel();
		body.add(point35);*/
	}

}
